﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="TaoBaoApi_TB_Trades" Codebehind="TB_Trades.aspx.cs" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="../Controls/SearchControl.ascx" TagName="SearchControl" TagPrefix="uc2" %>
<%@ Register Src="~/Controls/TaoBao/TaoBaoTB_XSJRDListControl.ascx" TagName="XSJRD" TagPrefix="uc3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>淘宝订单列表</title>
    <script type="text/javascript" src="../../Include/Js/SocanCode.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div align="justify">
        <h2> 淘宝订单列表</h2>
        <div class="menu_bg">               
                <uc2:SearchControl ID="SearchControl1" runat="server" />
                <asp:Button ID="btnDown" runat="Server" Text="下载订单..." OnClick="btnDown_Click" />
            </div>
            <div class="juli">               
               <uc3:XSJRD ID="xsjrd1" runat="Server" />
            </div>
            <div class="juli">
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" NumericButtonCount="8" ShowCustomInfoSection="left"
                    PagingButtonSpacing="0" ShowInputBox="always" HorizontalAlign="right" SubmitButtonText="转到"
                    NumericButtonTextFormatString="[{0}]" OnPageChanged="AspNetPager1_PageChanged">
                </webdiyer:AspNetPager>
            </div> 
           <br />
            <div id="div_Info" runat="Server" class="left">
                <table>
                    <tr>
                        <td>单据编号：<asp:TextBox ID="txtDJBH" runat="Server" /></td>
                        <td>交易ID：<asp:TextBox ID="txtTid" runat="server" /></td>  
                    </tr>
                    <tr>
                        <td>下单时间：<asp:TextBox ID="txtCreated" runat="server" /></td>
                        <td>淘宝店：<asp:DropDownList ID="ddlShop" runat="server" AutoPostBack="True" /></td>  
                    </tr> 
                    <tr>
                        <td>买家昵称：<asp:TextBox  ID="txtMJ" runat="Server" /></td> 
                        <td>数量：<asp:TextBox ID="txtNum" runat="server" /></td> 
                    </tr> 
                    <tr>
                        <td>支付金额：<asp:TextBox ID="txtJine" runat="Server" /></td> 
                        <td><asp:CheckBox ID="chkDaoru" runat="Server" Text="导入" /></td> 
                    </tr> 
                     <tr>
                           <td colspan="2" valign="top" >备注：<asp:TextBox ID="txtBZ" runat="Server" TextMode="MultiLine" Height="92px" Width="475px" /></td>
                     </tr> 
                </table>
                <br />
                <div class="juli">
                    <asp:Menu ID="Menu1" BorderWidth="1px" CssClass="spmenu" StaticMenuItemStyle-BackColor="#e7e7e7" StaticMenuStyle-BackColor="#e7e7e7"
                        StaticSelectedStyle-BackColor="#CCCCCC" Width="90%" runat="server" Orientation="horizontal"
                        StaticEnableDefaultPopOutImage="false" OnMenuItemClick="Menu1_MenuItemClick">
                        <Items>
                            <asp:MenuItem Text="附加信息" Value="0" Selected="true"></asp:MenuItem>
                            <asp:MenuItem Text="交易信息" Value="1"></asp:MenuItem>
                            <asp:MenuItem Text="买家信息" Value="2"></asp:MenuItem>
                            <asp:MenuItem Text="配送信息" Value="3"></asp:MenuItem>
                            <asp:MenuItem Text="商品信息" Value="4"></asp:MenuItem>                                       
                        </Items>
                    </asp:Menu>
                   <asp:MultiView ID="multiView1" runat="Server">
                        <asp:View ID="view1" runat="Server">
                            <table>
                                    <tr>
                                        <td> 发货人：<asp:TextBox ID="txtFaHuo" runat="Server" /></td>
                                        <td>发货日期：<asp:TextBox ID="txtFahuoRQ" runat="Server" /></td> 
                                        <td><asp:CheckBox ID="chkFHDaoru" runat="Server" Text="导入" /></td> 
                                    </tr>
                            </table>
                        </asp:View>
                        <asp:View ID="view2" runat="server">
                            <table>
                                <tr>
                                    <td>支付宝交易号：<asp:TextBox ID="txtZFB" runat='server' /></td>
                                    <td>交易状态：<asp:DropDownList ID="ddlJYStatus" runat="server" /></td> 
                                </tr>
                                <tr>
                                    <td> 实付金额：<asp:TextBox ID="txtSHJine" runat="Server" /></td>
                                    <td>交易类型：<asp:DropDownList ID="ddlJYType" runat="Server" /></td> 
                                </tr>
                                <tr>
                                     <td><asp:CheckBox ID="chkMJPJ" runat="Server" Text="卖家评价" /></td>
                                     <td><asp:CheckBox ID="chkMJPJ2" runat="Server" Text="买家评价" /></td>
                                </tr>
                                <tr>
                                    <td>交易创建时间：<asp:TextBox ID="txtJYCreated" runat="Server" /></td>
                                    <td></td> 
                                </tr>
                            </table>
                        </asp:View> 
                        <asp:View ID="view3" runat="server">
                            <table>
                                <tr>
                                    <td>买家昵称：<asp:TextBox ID="txtMJNC" runat="Server" /></td>
                                    <td>性别：<asp:DropDownList ID="ddlSex" runat="Server" /></td> 
                                </tr>
                                <tr>
                                     <td>买家信用：<asp:TextBox ID="txtMJXY" runat="server" /></td>
                                     <td>地区：<asp:TextBox ID="txtMJArea" runat="server" /></td>
                                </tr>
                                <tr>
                                      <td>收货人：<asp:TextBox ID="txtMJReceiver" runat="server" /></td>
                                      <td>收货地址：<asp:TextBox ID="txtMJAddress" runat="Server" /></td> 
                                </tr>
                                <tr>
                                      <td>用户注册时间：<asp:TextBox ID="txtMJReg" runat="Server" /></td>
                                      <td>最近登陆时间：<asp:TextBox ID="txtMJVisit" runat="server" /></td> 
                                </tr>
                                <tr>
                                     <td>买家等级：<asp:TextBox ID="txtMJLevel" runat="server" /></td>
                                     <td>买家积分：<asp:TextBox ID="txtMJScore" runat="Server" /></td>
                                </tr>
                                <tr>
                                    <td>卖家等级：<asp:TextBox ID="txtSellerLevel" runat="Server" /></td>
                                    <td>卖家积分：<asp:TextBox ID="txtSellerScore" runat="Server" /></td> 
                                </tr>
                            </table>
                        </asp:View> 
                        <asp:View ID="view4" runat="Server">
                            <table>
                             <tr>
                                <td>快递公司：<asp:TextBox ID="txtKDCompany" runat="Server" /></td>
                                <td>物流类型：<asp:DropDownList ID="ddlWLType" runat="Server" /></td>
                             </tr>
                             <tr>
                                 <td>运费承担方：<asp:DropDownList ID="ddl4freight_payer" runat="server" /></td>
                                 <td>运单号：<asp:TextBox ID="txt4sid" runat="Server" /></td> 
                             </tr> 
                             <tr>
                                 <td>重量：<asp:TextBox ID="txt4KG" runat="Server" /></td>
                                 <td>运费：<asp:TextBox ID="txt4Cost" runat="server" /></td> 
                             </tr> 
                             <tr>
                                 <td>收货人：<asp:TextBox ID="txt4Receiver" runat="server" /></td>
                                 <td>收获地址：<asp:TextBox ID="txt4ReceAddr" runat="Server" /></td> 
                             </tr> 
                             <tr>
                                 <td>物流订单状态：<asp:DropDownList ID="ddl4KDStatus" runat="server" /></td>
                                 <td><asp:CheckBox ID="chkISsellerSend" runat="Server" Text="卖家是否确认发货" /></td> 
                             </tr> 
                             <tr>
                                   <td>预约取货开始时间：<asp:TextBox ID="txt4start" runat="server" /></td>
                                   <td>预约取货介绍时间：<asp:TextBox ID="txt4end" runat="Server" /></td>
                             </tr> 
                             <tr>
                                   <td>描述：<asp:TextBox ID="txt4Info" runat="Server" /></td>
                             </tr> 
                             </table> 
                        </asp:View> 
                        <asp:View ID="view5" runat="Server">
                            <asp:GridView ID="gvBaobei" runat="Server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None">                                
                                <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                                <Columns>
                                    <asp:BoundField DataField="SP_ID" HeaderText="商品" />
                                    <asp:BoundField DataField="SPMC" HeaderText="宝贝名称" />
                                    <asp:BoundField DataField="GG1MC" HeaderText="颜色" />
                                    <asp:BoundField DataField="GG2MC" HeaderText="尺码" />
                                    <asp:BoundField DataField="SL" HeaderText="数量" />
                                    <asp:BoundField HeaderText="单价" DataField="DJ" />
                                    <asp:BoundField HeaderText="金额" DataField="JE" />
                                </Columns>
                                <RowStyle BackColor="#E3EAEB" />
                                <EditRowStyle BackColor="#7C6F57" />
                                <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                                <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                                <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                                <AlternatingRowStyle BackColor="White" />
                            </asp:GridView>
                        </asp:View> 
                   </asp:MultiView> 
                   </div> 
            </div>
    </div>
    </form>
</body>
</html>
